import request from '@/utils/request'

// 查询升级订单列表
export function listTechnicianUpgradeItemOrder(query) {
  return request({
    url: '/technicianUpgradeItemOrder/technicianUpgradeItemOrder/list',
    method: 'get',
    params: query
  })
}

// 查询升级订单详细
export function getTechnicianUpgradeItemOrder(id) {
  return request({
    url: '/technicianUpgradeItemOrder/technicianUpgradeItemOrder/' + id,
    method: 'get'
  })
}

// 新增升级订单
export function addTechnicianUpgradeItemOrder(data) {
  return request({
    url: '/technicianUpgradeItemOrder/technicianUpgradeItemOrder',
    method: 'post',
    data: data
  })
}

// 修改升级订单
export function updateTechnicianUpgradeItemOrder(data) {
  return request({
    url: '/technicianUpgradeItemOrder/technicianUpgradeItemOrder',
    method: 'put',
    data: data
  })
}

// 删除升级订单
export function delTechnicianUpgradeItemOrder(id) {
  return request({
    url: '/technicianUpgradeItemOrder/technicianUpgradeItemOrder/' + id,
    method: 'delete'
  })
}
